<?php $current = $this->uri->segment(2); ?>
<div class="navbar-inner">
    <div class="span12 head">
        <ul class="nav nav-tabs main-nav">                
            <li><a href="<?php echo site_url('content/home'); ?>" <?php echo ($current == 'home') ? 'class="active"' : ''; ?>>Home</a></li>
            <li><a href="<?php echo site_url('content/product'); ?>"<?php echo ($current == 'product') ? 'class="active"' : ''; ?>>Products</a></li>
            <li><a href="<?php echo site_url('content/export'); ?>"<?php echo ($current == 'export') ? 'class="active"' : ''; ?>>Exports</a></li>
            <li class="dropdown">
              <a href="<?php echo site_url('content/activity'); ?>" <?php echo ($current == 'activity') ? 'class="active dropdown-toggle"' : ''; ?> class="dropdown-toggle" data-toggle="dropdown">Activies<b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="<?php echo site_url('content/activity/rice_export'); ?>">Rice Export Activities</a></li>
                <li><a href="<?php echo site_url('content/activity/exhibition'); ?>">Exhibition Acitivities</a></li>
              </ul>
            </li>  
            <li><a href="<?php echo site_url('content/contact'); ?>" <?php echo ($current == 'contact') ? 'class="active"' : ''; ?>>Contact Us</a></li>
            <li class="dropdown">
              <a href="<?php echo site_url('content/about'); ?>" <?php echo ($current == 'about') ? 'class="active dropdown-toggle"' : ''; ?> class="dropdown-toggle" data-toggle="dropdown">About Us<b class="caret"></b></a>
              <ul class="dropdown-menu">
                <li><a href="<?php echo site_url('content/about/legality'); ?>">Company Legality</a></li>
                <li><a href="<?php echo site_url('content/about/philosophy'); ?>">Our Company Philosophies</a></li>
                <li><a href="<?php echo site_url('content/about/association'); ?>">Our Association Mill House</a></li>
                <li><a href="<?php echo site_url('content/about/management_profile'); ?>">Management Profile</a></li>
              </ul>
            </li>
            <li><a href="<?php echo site_url('content/feedback'); ?>"<?php echo ($current == 'feedback') ? 'class="active"' : ''; ?>>Customers Feedback</a></li>
        </ul>
    </div>
</div>